<template>
  <QTable init :url='state.url' :column='state.column'/>
</template>

<script setup>

import QTable from '../../components/QTable/index.vue'

const state = {
  url: '/api/getTableData',
  column: [{
    prop: 'date',
    label: '日期',
    width: 200
  },{
    prop: 'name',
    label: '姓名'
  },{
    prop: 'address',
    label: '地址'
  }]
}

</script>

<style scoped>

</style>
